package com.whmall.service.crm.entity.dto.suppliercreditscore;

import com.whmall.service.crm.module.suppliercreditscore.enumeration.CreditScoreChangeTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Author：yangdong
 * Date：2020/12/12
 * Description：
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SupplierCreditScoreChangeHistoryCreateReqDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 信用分变更类型, 值请查看通用配置文档
     */
    private CreditScoreChangeTypeEnum changeType;

    /**
     * 变更分数
     */
    private Integer changeScore;

    /**
     * 业务键, 根据信用分变更类型确定
     */
    private Long businessKey;
}
